.mantine-datatable-row {
  --mantine-datatable-row-color: var(
    light-dark(--mantine-datatable-row-color-light, --mantine-datatable-row-color-dark)
  );
  --mantine-datatable-row-background-color: var(
    light-dark(--mantine-datatable-row-background-color-light, --mantine-datatable-row-background-color-dark)
  );

  color: var(--mantine-datatable-row-color, inherit);
  background: var(--mantine-datatable-row-background-color, inherit);

  &[data-with-row-border]:not(:last-of-type) td {
    border-bottom: rem(1px) solid var(--mantine-datatable-row-border-color);
  }

  &[data-selected] td {
    background: var(--mantine-datatable-selection-color);
  }
}
